package Demo2.Test;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86136
 * Date: 2024-05-23
 * Time: 15:07
 */
class Derived extends Base {
    public int a = 3;
    public int c = 4;

    public void derivedFuc() {
        System.out.println("Derived::derivedFuc");
    }

    public void A() {
        System.out.println("Derived::A");
    }

    public void test() {
        System.out.println(this.a);
        System.out.println(super.a);
        System.out.println(this.b);
        System.out.println(this.c);
        this.A();
        super.A();
    }

}
